package com.atguigu.sugar.service;

import com.atguigu.sugar.bean.ProvinceBean;
import com.atguigu.sugar.mapper.ProvinceMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lzc
 * @Date 2022/6/2 11:18
 */
@Service
public class ProvinceServiceImpl implements ProvinceService {
    
    @Autowired
    ProvinceMapper provinceMapper;
    
    @Override
    public List<ProvinceBean> statsProvince(Integer date) {
        return provinceMapper.statsProvince(date);
    }
    
}
